import request from '@/utils/request'

// 查询商家信息1列表
export function listMember(query) {
  return request({
    url: '/manage/member/list',
    method: 'get',
    params: query
  })
}

// 新增商家信息
export function addMember(data) {
  return request({
    url: '/manage/member/insert',
    method: 'post',
    data: data
  })
}

// 修改商家信息
export function updateMember(data) {
  return request({
    url: '/manage/member/update',
    method: 'put',
    data: data
  })
}

// 删除商家信息1
export function delMember(id) {
  return request({
    url: '/manage/member/delete' + id,
    method: 'delete'
  })
}

